package com.j2ee.proxy.static01;

import org.junit.Test;

public class StaticProxyTest {
	
	@Test
	public void testStaticProxy() {
		PersonDao personDao = new PersonDaoImpl() ;
		Transaction transaction = new Transaction() ;
		PersonDaoProxy proxy = new PersonDaoProxy(personDao, transaction) ;
		proxy.savePerson() ;
	}

}
